Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): enable using the daemon in docker if enabled explicitly #27585

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

MaxKless
Copy link
Collaborator

@MaxKless MaxKless commented Aug 22, 2024

Current Behavior

The daemon is hard-disabled in docker, even if you try to explicilty enable it using the NX_DAEMON env var.

Expected Behavior

We should disable the daemon by default in docker but allow users to opt-in using the env var. There might be issues that come with that but since it's opt-in, it will be at their own risk.

Related Issue(s)

Fixes #14126

@MaxKless MaxKless requested a review from a team as a code owner August 22, 2024 08:52
Copy link

vercel bot commented Aug 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Aug 22, 2024 11:11am

@MaxKless MaxKless force-pushed the explicit-enabling-daemon-docker branch from 693fbc2 to a5576ef Compare August 22, 2024 11:08
@FrozenPandaz FrozenPandaz merged commit eeb60b6 into master Aug 22, 2024
6 checks passed
@FrozenPandaz FrozenPandaz deleted the explicit-enabling-daemon-docker branch August 22, 2024 19:40
FrozenPandaz pushed a commit that referenced this pull request Aug 26, 2024
…27585)

<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
The daemon is hard-disabled in docker, even if you try to explicilty
enable it using the `NX_DAEMON` env var.

## Expected Behavior
We should disable the daemon by default in docker but allow users to
opt-in using the env var. There might be issues that come with that but
since it's opt-in, it will be at their own risk.

## Related Issue(s)

Fixes #14126

(cherry picked from commit eeb60b6)
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nx daemon not available in docker containers
2 participants